package com.intel.two.pojo.record.recordbo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PurchaseHouseRecordBo {

    @ExcelProperty(value = "姓名")
    private String p_name;
    @ExcelProperty(value = "姓别")
    private String p_sex;
    @ExcelProperty(value = "购房时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date p_purchaseHouseTime;
    @ExcelProperty(value = "付款方式")
    private String p_paymentMethod;
    @ExcelProperty(value = "付款金额")
    private String p_housePice;
    @ExcelProperty(value = "房号")
    private String p_houseLocation;
    @ExcelProperty(value = "紧急联系人")
    private String p_emergencyContact;
}
